package com.net.tkc.pro.service;

import com.net.tkc.pro.entity.SystemPush;
import com.net.tkc.pro.impl.SystemPushImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SystemPushService {
    @Resource
    SystemPushImpl systemPushImpl;


    public int addSystemPush(SystemPush SystemPush) {
        return systemPushImpl.addSystemPush(SystemPush);
    }


    public int delSystemPush(int id) {
        return systemPushImpl.delSystemPush(id);
    }


    public List<SystemPush> getList() {
        return systemPushImpl.getList();
    }
}
